package com.xinsoft.mapper;


import com.xinsoft.entity.dto.MesBomDetailDTO;
import com.xinsoft.entity.po.MesBomDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author hsm
* @description 针对表【mes_bom_detail(BOM详细)】的数据库操作Mapper
* @createDate 2023-07-18 14:07:11
* @Entity com.xinsoft.entity.po.MesBomDetail
*/
public interface MesBomDetailMapper extends BaseMapper<MesBomDetail> {

    List<MesBomDetailDTO> findListByParam(@Param("bomId") Integer bomId,
                                          @Param("parentBomId") Integer parentBomId);

    void insertOrUpdateBatch(List<MesBomDetail> mesBomDetailList);
}




